import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';

export class AuthDto {
  @ApiProperty({
    description: '授权Token',
  })
  @IsString()
  accessToken: string;
  @ApiProperty({
    description: '刷新Token',
  })
  @IsString()
  refreshToken: string;
}
